home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 September
/
Macworld (1998-09).dmg
/
Shareware World
/
Info
/
For Developers
/
Script Tools 1.3.6
/
Examples
/
Choose Folder Example
< prev
next >
Wrap
Text File
|
1993-06-17
|
368b
|
11 lines
set folderOK to true
try
set archiveFolder to choose folder with prompt "Please select an Archive folder:"
on error errText number errNum
display dialog "Choose folder canceled" buttons {"OK"} default button {"OK"}
set folderOK to false
end try
if folderOK then
display dialog "Selected folder: “" & archiveFolder & "”" buttons {"OK"} default button {"OK"}
end if